package com.atguigu.hospital.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "公寓设置")
@TableName("apartment")
public class Apartment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公寓名称")
    @TableField("apartment_name")
    private String apartmentName;

    @ApiModelProperty(value = "公寓编号")
    @TableField("apartment_code")
    private String apartmentCode;

    @ApiModelProperty(value = "公寓楼层")
    @TableField("floor_num")
    private String floorNum;

    @ApiModelProperty(value = "公寓类型")
    @TableField("apartment_type")
    private String apartmentType;

    @ApiModelProperty(value = "api基础路径")
    @TableField("api_url")
    private String apiUrl;

    @ApiModelProperty(value = "签名秘钥")
    @TableField("sign_key")
    private String signKey;

    @ApiModelProperty(value = "联系人姓名")
    @TableField("contacts_name")
    private String contactsName;

    @ApiModelProperty(value = "联系人手机")
    @TableField("contacts_phone")
    private String contactsPhone;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;
}
